package com.example.basic.web.service.common.impl;

import com.example.basic.web.mapper.common.CommonMapper;
import com.example.basic.web.service.common.CommonService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Date;



@Service
public class CommonServiceImpl implements CommonService {

    @Resource
    private CommonMapper commonMapper;

    /**
     * @create 获取数据库当前时间 zhangzl
     * @return
     */
    @Override
    public Date getDataBaseTime() {
        return commonMapper.getDataBaseTime();
    }
}
